package com.enjoyor.soa.traffic.api.service.dubbo.ipms;

import com.enjoyor.soa.traffic.api.dto.ipms.ServiceDto;
import com.enjoyor.soa.traffic.util.pojo.Page;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

public interface DubboServiceInfoService {

	/**
	 * 
	 * @Title: getServiceInfo @Description: TODO(获取所有服务列表) @return
	 *         ResultPojo类型 @throws
	 */
	public ResultPojo getServiceInfo(String service_key, String service_type, String service_name);

	/**
	 * 
	 * @Title: getServicePage @Description: TODO(获取所有服务分页) @return
	 *         ResultPojo类型 @throws
	 */
	@SuppressWarnings("rawtypes")
	public ResultPojo getServicePage(String service_key, String service_type, String service_name, Page page,
			String pageType);

	/**
	 * 新增服务
	 * 
	 * @param serviceDto
	 * @return
	 */
	public ResultPojo insertServiceInfo(ServiceDto serviceDto);

	/**
	 * 修改服务
	 * 
	 * @param serviceDto
	 * @return
	 */
	public ResultPojo updateServiceInfo(ServiceDto serviceDto);

	/**
	 * 删除服务
	 * 
	 * @param service_id
	 * @return
	 */
	public ResultPojo deleteServiceInfo(String service_id);

}
